namespace KingerRobot.MexicoSailunMDC.Dao;
partial class Db : K8.EF.DbContext
{
    /// <summary>
    /// 生产表 - 旋转角度获取
    /// </summary>
    public DbSet<POMesCureMaterialSpin> MesCureMaterialSpins { get; set; }
}

/// <summary>
/// 生产表 - 旋转角度获取
/// 表[mes_cure_material_spin]
/// </summary>
[Table("mes_cure_material_spin")]
public class POMesCureMaterialSpin
{
    /// <summary>
    /// 主键，通过雪花算法生成
    /// 主键[mes_cure_material_spin.objid)]
    /// </summary>
    [Key]
    [Column("objid")]
    public long? Id { get; set; }
    /// <summary>
    /// 物料编号
    /// [mes_cure_material_spin.cruing_code)]
    /// </summary>
    [Column("cruing_code")]
    public string CruingCode { get; set; }
    /// <summary>
    /// 物料名称
    /// [mes_cure_material_spin.cruing_mode_index)]
    /// </summary>
    [Column("cruing_mode_index")]
    public int? CruingModeIndex { get; set; }
    /// <summary>
    /// [mes_cure_material_spin.material_code)]
    /// </summary>
    [Column("material_code")]
    public string MaterialCode { get; set; }
    /// <summary>
    /// [mes_cure_material_spin.batch_code)]
    /// </summary>
    [Column("batch_code")]
    public string BatchCode { get; set; }
    /// <summary>
    /// [mes_cure_material_spin.spin_angle)]
    /// </summary>
    [Column("spin_angle", TypeName ="decimal(18,4)")]
    public decimal? SpinAngle { get; set; }
    /// <summary>
    /// [mes_cure_material_spin.mes_update_time)]
    /// </summary>
    [Column("mes_update_time")]
    public DateTime? MesUpdateTime { get; set; }
    /// <summary>
    /// [mes_cure_material_spin.mes_flag)]
    /// </summary>
    [Column("mes_flag")]
    public int? MesFlag { get; set; }
    /// <summary>
    /// 创建时间
    /// [mes_cure_material_spin.create_time)]
    /// </summary>
    [Column("create_time")]
    public DateTime? CreateTime { get; set; }
    /// <summary>
    /// 更新时间
    /// [mes_cure_material_spin.update_time)]
    /// </summary>
    [Column("update_time")]
    public DateTime? UpdateTime { get; set; }
    /// <summary>
    /// 是否可用 0:不可用  1:在用
    /// [mes_cure_material_spin.use_flag)]
    /// </summary>
    [Column("use_flag")]
    public int? UseFlag { get; set; }
}
